package com.youlin.dto.res;

import com.youlin.mybean.ResMapping;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@NoArgsConstructor
@Data
@Accessors(chain=true)
@ResMapping(mappingClass = "com.youlin.entities.BygRole")
public class RoleResDto {

    /**
     * ID
     */
    @ApiModelProperty(value = "角色ID", position = 1)
    private Integer id;

    /**
     * 角色名称
     */
    @ApiModelProperty(value = "角色名称", position = 2)
    private String name;

}

